package com.atguigu.gmall.order.mapper;

import com.atguigu.gmall.model.order.OrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName: OrderInfoMapper
 * Description:
 * Date: 2021/12/29 22:31
 *
 * @version:
 * @since JDK 1.8
 */
@Mapper
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {


    IPage<OrderInfo> selectPageByUserId(Page<OrderInfo> page, @Param("userId")String userId);
}
